--- import Page from '$layouts/Page.astro'; import localeStaticPaths from '$lib/localeStaticPaths'; import translate from '$i18n/translate'; import tContact from '$i18n/translations/pages/contact'; import type Locale from '$types/Locale'; export async function getStaticPaths() { return localeStaticPaths; } const locale = Astro.params.locale as Locale; const t = translate(locale); ---

{ t(tContact, { key: 'title' }) }

{ t(tContact, { key: 'submit-enquiry-online' }) }